package com.maxlen.goods.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maxlen.goods.entity.SkuSaleAttrValueEntity;
import com.maxlen.goods.entity.dto.SkuItemDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * sku销售属性&值
 *
 * @author MaxLen
 * @email MaxLen@gmail.com
 * @date 2022-10-27 09:43:29
 */
@Mapper
public interface SkuSaleAttrValueDao extends BaseMapper<SkuSaleAttrValueEntity> {

    List<SkuItemDTO.SkuItemSaleAttrDTO> getBySpuId(Long spuId);

    List<String> getSaleAttr(Long skuId);

}
